{"version":3,"sources":["bottomsheet.bundle.js"],"names":["this","BX","exports","main_core","_classPrivateMethodInitSpec","obj","privateSet","_checkPrivateRedeclaration","add","privateCollection","has","TypeError","_classPrivateMethodGet","receiver","fn","_bindEvents","WeakSet","_dragStart","_dragEnd","_dragMove","TouchDragListener","_ref","element","touchStartCallback","touchEndCallback","touchMoveCallback","babelHelpers","classCallCheck","Type","isDomNode","active","currentY","initialY","yOffset","_bindEvents2","call","addEventListener","_dragStart2","bind","_dragEnd2","_dragMove2","ev","classList","type","touches","clientY","offSetY","remove","preventDefault","currentX","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_classPrivateMethodInitSpec$1","_checkPrivateRedeclaration$1","_classPrivateMethodGet$1","_getOverlay","_getHelp","_getClose","_getPanel","_getContent","_getWrapper","BottomSheet","_this","content","help","className","_padding","padding","isString","isNumber","isFunction","layout","wrapper","container","overlay","close","halfOfHeight","currentHeight","sheetListener","_getPanel2","_ref2","style","setProperty","_ref3","parseInt","_ref4","setContent","createClass","key","value","Dom","clean","_getContent2","appendChild","innerText","adjustPosition","adjustSize","_this2","offsetHeight","newHeight","setTimeout","adjustHeight","removeProperty","removeEventListener","_this3","_getWrapper2","parentNode","_getOverlay2","animationProgress","show","_this4","document","body","Tag","render","taggedTemplateLiteral","_getHelp2","_this5","Loc","getMessage","_getClose2","panelWrapper","UI"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,IACpB,SAAUC,EAAQC,GAClB,aAEA,SAASC,EAA4BC,EAAKC,GAAcC,EAA2BF,EAAKC,GAAaA,EAAWE,IAAIH,GAEpH,SAASE,EAA2BF,EAAKI,GAAqB,GAAIA,EAAkBC,IAAIL,GAAM,CAAE,MAAM,IAAIM,UAAU,mEAEpH,SAASC,EAAuBC,EAAUP,EAAYQ,GAAM,IAAKR,EAAWI,IAAIG,GAAW,CAAE,MAAM,IAAIF,UAAU,kDAAqD,OAAOG,EAE7K,IAAIC,EA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